package com.wy.springbootblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wy.springbootblog.pojo.Comment;
import com.wy.springbootblog.pojo.Result;
import com.wy.springbootblog.pojo.SearchBean;

public interface CommentService extends IService<Comment> {
    Result<Void> saveComment(Comment comment);

    Result<Void> deleteComment(Integer id);

    Result commentList(SearchBean<Comment> searchBean);

    Result<Void> updateComment(Comment comment);
}
